package com.xique.door.service;



import com.xique.door.bean.domain.PermissionGroupUser;
import com.xique.door.bean.domain.UserDevice;

import java.util.List;

/**
 * @author shd
 * @create 2021/7/7 15:28
 */
public interface IPermissionGroupUserDomainService {

    /**
     * 批量删除权限组用户
     * @author shd
     * @date 2021/7/7 15:30
     * @param permissionGroupUserIds
     * @param userDeviceIds
     * @return boolean
     */
    boolean deleteUserInfos(List<Long> permissionGroupUserIds, List<Long> userDeviceIds);

    /**
     * 删除权限组用户
     * @author shd
     * @date 2021/7/8 15:20
     * @param permissionGroupUserIds
     * @param userDeviceIds
     * @return boolean
     */
    boolean deleteUserInfo(Long permissionGroupUserIds, List<Long> userDeviceIds);

    /**
     * 添加权限组用户
     * @author shd
     * @date 2021/7/8 16:05
     * @param permissionGroupUsers
     * @param userDevices
     * @return boolean
     */
    boolean addUserInfos(List<PermissionGroupUser> permissionGroupUsers, List<UserDevice> userDevices);
}
